import Vue from "vue";
import App from "./App.vue";
//1.安装脚手架就把router顺便安装好；2.引入router
import router from "./router"; //import router from "./router/index.js"; 如果里面是index的命名，文件名可以省略
import store from "./store";

//引入vantUI组件
import Vant from "vant";
import "vant/lib/index.css";

Vue.use(Vant);

Vue.config.productionTip = false;

new Vue({
  router, //3.将router注入到vue实例
  store,
  render: (h) => h(App),
}).$mount("#app");
